﻿<Window x:Class="StupidChineseSegmenter.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:conv="clr-namespace:StupidChineseSegmenter"
        Title="MainWindow" Height="426" Width="525">
    <Window.Resources>
        <!--<conv:TextToSegment x:Key="textSegmenter" />-->
    </Window.Resources>
    <Grid>
        <TextBox TextWrapping="Wrap" Margin="12,32,0,55" Name="SourceText" HorizontalAlignment="Left" Width="235" />
        <!--<TextBox TextWrapping="Wrap" Margin="256,12,12,38" Name="textBox2"
                 Text="{Binding Path=Text, ElementName=SourceText, Mode=OneWay, ConverterParameter=cfdict.xml, Converter={StaticResource textSegmenter}}" />-->

        <TextBox TextWrapping="Wrap" Margin="256,32,12,55" Name="textBox2" />

        <Button Content="Analyser" HorizontalAlignment="Left" Margin="87,0,0,12" Name="button1" Width="84" Height="29" VerticalAlignment="Bottom" Click="button1_Click" />
        <ProgressBar Height="20" HorizontalAlignment="Left" Margin="258,0,0,18" Name="progressBar1" VerticalAlignment="Bottom" Width="235" />
        <TextBlock Height="17" HorizontalAlignment="Left" Margin="45,10,0,0" Name="textBlock1" VerticalAlignment="Top" Width="159" >
            <Hyperlink NavigateUri="http://sauce-soja.com" Click="Hyperlink_Click">
                Simple Chinese Segmenter
            </Hyperlink>
        </TextBlock>

        <TextBlock Height="17" Margin="308,10,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="159">
            Créé par Louis Lecailliez
        </TextBlock>


    </Grid>
</Window>
